package com.majun.mapper;

import com.majun.entity.RoleResourceRelation;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleResourceRelationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoleResourceRelation record);

    int insertSelective(RoleResourceRelation record);

    RoleResourceRelation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoleResourceRelation record);

    int updateByPrimaryKey(RoleResourceRelation record);

    List<Integer> selectByRoleID(Integer id);

    void deleteByRoleID(Integer id);
}